<p id="notice"><%= notice %></p>

<p>
  <b>Title:</b>
  <%= @idea.title %>
</p>

<p>
  <b>Description:</b>
  <%= @idea.description %>
</p>

<p>
  <b>Votes:</b>
  <%= @idea.votes.count %> 
</p>

<%= link_to 'Vote', idea_votes_path(@idea), :method => :post %>

<h2>Comments</h2>
<%= render @idea.comments %>

<h2>Add a comment:</h2>
<%= render "comments/form" %>

<br />

<%= link_to 'Edit', edit_idea_path(@idea) %> |
<%= link_to 'Back', ideas_path %>
